package com.szholly.pro.watergas_server.ps.controller;

import java.util.HashMap;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.szholly.pro.watergas_server.common.web.BaseController;
import com.szholly.pro.watergas_server.common.web.RequestUnit;

@Controller
@RequestMapping("/Test/")
public class TestController  extends BaseController { 
	protected Logger logger = LoggerFactory.getLogger(getClass());
	/**
	 * 获取门禁数据
	 * @param resq
	 * @param res
	 * @throws Exception
	 */
	@RequestMapping(value="/test1")
	public void getAccessData(HttpServletRequest resq, HttpServletResponse res) throws Exception{
		HashMap<String, String> parms = RequestUnit.getHashMapParmS();
		System.out.println(parms);
	}
}
